﻿using FeiShu.Entity.Adapter.FeiShuWork;
using System;
using System.Collections.Generic;
using System.Text;

namespace FeiShu.IService.Common
{
    /// <summary>
    /// 公共服务
    /// </summary>
    public interface ICommonService
    {
        /// <summary>
        /// 获取access_token
        /// </summary>
        /// <returns></returns>
        AccessTokenResponse GetAccessToken();

        /// <summary>
        /// 刷新access_token
        /// </summary>
        /// <returns></returns>
        bool RefreshAccessToken();
    }
}
